package com.example.hms.dao;

import com.example.hms.entity.BlackList;
import com.example.hms.entity.Customer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface BlackListDao {
    List<BlackList> selectAllBlackList(@Param("blackListId") String blackListId,
                                       @Param("customerName") String customerName,
                                       @Param("state") String state);
    int insert(BlackList blackList);

    int update(BlackList blackList);

    Map<String, Object> selectBlackList(@Param("customerId") String customerId,
                                        @Param("cancelTime") String cancelTime);
}
